package com.dragons.dragonsvf.entities;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/**
 * @author Dragons.G
 * @date 2025-06-26 11:25:25
 * @description 后台管理管理员信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Getter
@Setter
@TableName("manager_admin")
public class MAuth {

    private String id; // 唯一的32位的

    @TableField(value = "m_user", condition = SqlCondition.LIKE)
    private String m_user; // 用户名

//    @TableField(value = "across_num", condition = SqlCondition.EQUAL)
//    private String across_num; // 密码

    @TableField(value = "mh_pwd_en", condition = SqlCondition.EQUAL)
    private String mh_pwd_en; // 加密后的密码

    private String m_encryption_algorithm; // 加密算法

    @TableField(value = "m_email")
    private String m_email; // 电子邮件

    @TableField(value = "m_tel")
    private String m_tel; // 电话号码

    @TableField(value = "m_wechat")
    private String m_wechat; // 微信相关信息

    @TableField(value = "m_avatar_url")
    private String m_avatar_url; // 头像minio链接

    @TableField(value = "m_role_id")
    private String m_role_id; // 角色编号

    @TableField(value = "m_is_frozen")
    private String m_is_frozen; // 是否冻结 0 不冻结 1 冻结

    @TableField(value = "m_created_at")
    private Timestamp m_created_at; // 创建时间 timestamp格式

    @TableField(value = "m_updated_at")
    private Timestamp m_updated_at; // 最新修改时间timestamp格式

}















